//
//  CarTableViewCell.m
//  CarHome
//
//  Created by 小伍 on 14-9-23.
//  Copyright (c) 2014年 WJN_work@163.com. All rights reserved.
//

#import "CarTableViewCell.h"

@implementation CarTableViewCell
- (void)dealloc
{
    [_myView release];
    _myView = nil;
    [_label release];
    _label = nil;
    [super dealloc];
}
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        self.myView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, 40, 40)];
        [self.contentView addSubview:_myView];
        self.label = [[UILabel alloc]initWithFrame:CGRectMake(50, 0, 200, 40)];
        [self.contentView addSubview:_label];
    }
    return self;
}

- (void)awakeFromNib
{
    // Initialization code

}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
